package ${package}.rss.service;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.List;

import com.sun.syndication.feed.synd.SyndEntry;
import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.fetcher.FetcherException;
import com.sun.syndication.io.FeedException;

public interface IRssService {
	public List<SyndEntry> fetchRssEntries() throws IllegalArgumentException,
			MalformedURLException, IOException, FeedException, FetcherException;

	public List<SyndEntry> fetchRssEntriesFromChannels(List<String> channelUrls)
			throws IllegalArgumentException, MalformedURLException,
			IOException, FeedException, FetcherException;

	public SyndFeed loadRss(String channelUrl) throws IllegalArgumentException,
			MalformedURLException, IOException, FeedException, FetcherException;

}
